package com.agent.user.Service;

import com.agent.feign.entity.Member;
import com.agent.user.dto.PictureCodeDTO;
import com.agent.user.entity.PictureCode;
import com.agent.user.param.UserLoginParam;
import com.agent.user.param.UserParam;
import com.agent.user.vo.UserLoginVO;

public interface UserService {
     UserLoginVO LoginByCode(UserLoginParam userLoginParam);
     UserLoginVO LoginByPassword(UserLoginParam loginParam);
     void registerUser(UserParam user);
     Boolean getCode(String email);
     Boolean checkPictureCode(PictureCode code);
     PictureCodeDTO generatePictureCode();

     Member getMember(String userId);
}
